window.nsCons = {
    EVENT_APP_ROUTER_NAVIGATE: 'event_app_router_navigate',
    EVENT_CHAT_MSG_SENDED: 'event_chat_msg_sended',
    EVENT_CHAT_TOPIC_MSG_SENDED: 'event_chat_topic_msg_sended',
    EVENT_CHAT_MSG_EDIT_UPLOAD: 'event_chat_msg_edit_upload',
    EVENT_CHAT_SIDEBAR_TOGGLE: 'event_chat_sidebar_toggle',
    EVENT_CHAT_RIGHT_SIDEBAR_TOGGLE: 'event_chat_right_sidebar_toggle',
    EVENT_CHAT_SEARCH_GOTO_CHAT_ITEM: 'event_chat_search_goto_chat_item',
    EVENT_CHAT_CHANNEL_CREATED: 'event_chat_channel_created',
    EVENT_CHAT_CHANNEL_DELETED: 'event_chat_channel_deleted',
    EVENT_CHAT_CHANNEL_JOINED: 'event_chat_channel_joined',
    EVENT_CHAT_CHANNEL_LEAVED: 'event_chat_channel_leaved',
    EVENT_SHOW_HOTKEYS_MODAL: 'event_show_hotkeys_modal',
    EVENT_SHOW_SCHEDULE: 'event_show_schedule',
    EVENT_CUSTOM_ALARM_SCHEDULE: 'event_custom_alarm_schedule',
    EVENT_CHAT_CHANNEL_MEMBER_ADD_OR_REMOVE: 'event_chat_channel_member_add_or_remove',
    EVENT_CHAT_LAST_ITEM_RENDERED: 'event_chat_last_item_rendered',
    EVENT_CHAT_REPLY_LAST_ITEM_RENDERED: 'event_chat_reply_last_item_rendered',
    EVENT_SCROLLBAR_SCROLL_TO_BOTTOM: 'event_scrollbar_scroll_to_bottom',
    EVENT_FILE_FIXED_TO_MSG_ID: 'event_file_fixed_to_msg_id',
    EVENT_CHAT_MSG_INSERT: 'event_chat_msg_insert',
    EVENT_CHAT_TOPIC_MSG_INSERT: 'event_chat_topic_msg_insert',
    EVENT_CHAT_MSG_POPUP_SHOW: 'event_chat_msg_popup_show',
    EVENT_CHAT_TOPIC_SHOW: 'event_chat_topic_show',
    EVENT_CHAT_TOPIC_SCROLL_TO: 'event_chat_topic_scroll_to',
    EVENT_CHAT_MEMBER_POPUP_SHOW: 'event_chat_member_popup_show',
    EVENT_CHAT_MSG_WIKI_DIR: 'event_chat_msg_wiki_dir',
    EVENT_CHAT_CONTENT_SCROLL_TO: 'event_chat_content_scroll_to',
    EVENT_CHAT_RIGHT_SIDEBAR_SCROLL_TO: 'event_chat_right_sidebar_scroll_to',
    EVENT_CHAT_POLL_UPDATE: 'event_chat_poll_update',
    EVENT_CHAT_MSG_POLL_UPDATE: 'event_chat_msg_poll_update',
    EVENT_CHAT_REPLY_SCROLL_TO: 'event_chat_reply_scroll_to',
    EVENT_CHAT_TOGGLE_LEFT_SIDEBAR: 'event_chat_toggle_left_sidebar',
    EVENT_CHAT_TOGGLE_RIGHT_SIDEBAR: 'event_chat_toggle_right_sidebar',
    EVENT_CHAT_DO_MSG_SEARCH: 'event_chat_do_msg_search',
    EVENT_CHAT_DO_MSG_FILTER: 'event_chat_do_msg_filter',
    EVENT_CHAT_TO_OBJECT_CHANGED: 'event_chat_to_object_changed',
    EVENT_SWITCH_CHAT_TO: 'event_switch_chat_to',
    EVENT_CHANNEL_ACTIONS: 'event_channel_actions',
    EVENT_CHANNEL_LINKS_REFRESH: 'event_channel_links_refresh',
    EVENT_CHANNEL_GANTTS_REFRESH: 'event_channel_gantts_refresh',
    EVENT_SYSTEM_LINKS_REFRESH: 'event_system_links_refresh',
    EVENT_SCHEDULE_REFRESH: 'event_schedule_refresh',
    EVENT_MODAAL_BEFORE_OPEN: 'event_modaal_before_open',
    EVENT_MODAAL_AFTER_OPEN: 'event_modaal_after_open',
    EVENT_MODAAL_BEFORE_CLOSE: 'event_modaal_before_close',
    EVENT_MODAAL_AFTER_CLOSE: 'event_modaal_after_close',
    EVENT_BLOG_SWITCH: 'event_blog_switch',
    EVENT_BLOG_ACTION: 'event_blog_action',
    EVENT_BLOG_CHANGED: 'event_blog_changed',
    EVENT_COMMENT_CHANGED: 'event_comment_changed',
    EVENT_SPACE_CHANGED: 'event_space_changed',
    EVENT_SPACE_DIR_CHANGED: 'event_space_dir_changed',
    EVENT_BLOG_CREATED: 'event_blog_created',
    EVENT_BLOG_UPDATED: 'event_blog_updated',
    EVENT_BLOG_DELETED: 'event_blog_deleted',
    EVENT_BLOG_TOGGLE_SIDEBAR: 'event_blog_toggle_sidebar',
    EVENT_BLOG_TOGGLE_SIDEBAR_PC: 'event_blog_toggle_sidebar_pc',
    EVENT_BLOG_VIEW_CHANGED: 'event_blog_view_changed',
    EVENT_BLOG_STOW_CHANGED: 'event_blog_stow_changed',
    EVENT_BLOG_SAVE: 'event_blog_save',
    EVENT_BLOG_HISTORY_CHANGED: 'event_blog_history_changed',
    EVENT_BLOG_COMMENT_POPUP_SHOW: 'event_blog_comment_popup_show',
    EVENT_BLOG_RIGHT_SIDEBAR_TOGGLE: 'event_blog_right_sidebar_toggle',
    EVENT_BLOG_LEFT_SIDEBAR_TOGGLE: 'event_blog_left_sidebar_toggle',
    EVENT_BLOG_CONTENT_DIMMER_TOGGLE: 'event_blog_content_dimmer_toggle',
    EVENT_BLOG_COMMENT_MSG_INSERT: 'event_blog_comment_msg_insert',
    EVENT_BLOG_COMMENT_ADDED: 'event_blog_comment_added',
    EVENT_BLOG_COMMENT_CHANGED: 'event_blog_comment_changed',
    EVENT_BLOG_IS_UPDATED: 'event_blog_is_updated',
    EVENT_BLOG_IS_UPDATED_ACK: 'event_blog_is_updated_ack',
    EVENT_WS_CHANNEL_UPDATE: 'event_ws_channel_update',
    EVENT_WS_CHANNEL_AT: 'event_ws_channel_at',
    EVENT_WS_CHANNEL_NOTICE: 'event_ws_channel_notice',
    EVENT_WS_CHANNEL_ONLINE: 'event_ws_channel_online',
    EVENT_WS_DIRECT_UPDATE: 'event_ws_direct_update',
    EVENT_WS_SCHEDULE_UPDATE: 'event_ws_schedule_update',
    EVENT_WS_BLOG_UPDATE: 'event_ws_blog_update',
    EVENT_WS_BLOG_COMMENT_UPDATE: 'event_ws_blog_comment_update',
    EVENT_WS_BLOG_LOCK: 'event_ws_blog_lock',
    EVENT_WS_BLOG_NEWS_UPDATE: 'event_ws_blog_news_update',
    EVENT_AUDIO_ALERT: 'event_audio_alert',
    EVENT_CLOSE_CHANNEL_TASKS_MODAL: 'event_close_channel_tasks_modal',
    EVENT_CHANNEL_TASK_COL_REFRESH: 'event_channel_task_col_refresh',
    EVENT_CHANNEL_TASK_LABELS_REFRESH: 'event_channel_task_labels_refresh',
    EVENT_CHANNEL_TASK_ITEM_ACTION: 'event_channel_task_item_action',
    EVENT_CHANNEL_TASK_TALK_SHOW: 'event_channel_task_talk_show',
    EVENT_CHANNEL_TASK_EDIT: 'event_channel_task_edit',
    EVENT_MARKDOWN_TASK_ITEM_STATUS_TOGGLE: 'event_markdown_task_item_status_toggle',
    EVENT_MD_EDITOR_TBAR_VISIBLE_CHANGE: 'event_md_editor_tbar_visible_change',
    EVENT_TOASTR_CLOSE: 'event_toastr_close',
    ACTION_TYPE_SEARCH: 'action_type_search',
    ACTION_TYPE_STOW: 'action_type_stow',
    ACTION_TYPE_PIN: 'action_type_pin',
    ACTION_TYPE_TOPIC: 'action_type_topic',
    ACTION_TYPE_AT: 'action_type_at',
    ACTION_TYPE_DIR: 'action_type_dir',
    ACTION_TYPE_ATTACH: 'action_type_attach',
    ACTION_TYPE_SCHEDULE: 'action_type_schedule',
    ACTION_TYPE_TODO: 'action_type_todo',
    NUM_TEXT_COMPLETE_MAX_COUNT: 20,
    STR_EMOJI_SEARCH_URL: 'http://emoji.muan.co/',
    KEY_REMEMBER_LAST_CHAT_TO: 'tms/remember_last_chat_to',
    KEY_CHAT_ALARM: 'tms/chat_alarm',
    KEY_CHAT_SIDEBAR_THEME: 'tms/chat_sidebar_theme',
    KEY_LOGIN_USERNAME: 'tms/login_username',
    KEY_BLOG_COMMON_SPACE: 'tms/blog/common_space',
    KEY_BLOG_SEARCH_RECENT: 'tms/blog/search_recent',
    KEY_CHAT_NEW_MSG_CNT: 'tms/chat/new_msg_cnt',
    KEY_CHAT_NEW_AT_MSG_CNT: 'tms/chat/new_at_msg_cnt',
    WIDTH_RIGHT_BAR: 300,
}
